<?php
include_once "common/basic.php";
session_destroy();
if($_GET[refer] && strpos(strtolower($_GET[refer]), "logout.php")===false){
	$func->redirect($_GET[refer]);
}else{
	$func->redirect("index.php");
}
?>